                //
//  LAlertView.h
//  LAlertViewDemo
//
//  Created by Alex Jarvis on 25/09/2013.
//  Copyright (c) 2013 Lion Ltd. All rights reserved.
//

@interface LAlertView : UIView

@property (nonatomic, getter = isVisible) BOOL visible;


+ (LAlertView *)showAlertWithTitle:(NSString *)title;

+ (LAlertView *)showAlertWithTitle:(NSString *)title completion:(void(^) (BOOL cancelled))completion;

+ (LAlertView *)showAlertWithTitle:(NSString *)title
                            message:(NSString *)message;

+ (LAlertView *)showAlertWithTitle:(NSString *)title
                            message:(NSString *)message
                         completion:(void(^) (BOOL cancelled))completion;

+ (LAlertView *)showAlertWithTitle:(NSString *)title
                            message:(NSString *)message
                        cancelTitle:(NSString *)cancelTitle
                         completion:(void(^) (BOOL cancelled))completion;

+ (LAlertView *)showAlertWithTitle:(NSString *)title
                            message:(NSString *)message
                        cancelTitle:(NSString *)cancelTitle
                         otherTitle:(NSString *)otherTitle
                         completion:(void(^) (BOOL cancelled))completion;

+ (LAlertView *)showAlertWithTitle:(NSString *)title
                            message:(NSString *)message
                        cancelTitle:(NSString *)cancelTitle
                         otherTitle:(NSString *)otherTitle
                        contentView:(UIView *)view
                         completion:(void(^) (BOOL cancelled))completion;

+ (LAlertView *)showAlertWithTitle:(NSString *)title contentView:(UIView *)view completion:(void(^) (BOOL cancelled))completion;

+ (LAlertView *)showAlertWithIndicator:(NSString *)message;

+ (void)showAlertWithWarning:(NSString *)message;

- (void)dismiss:(id)sender;



@end
